package com.wish.firstExample;

public class Movie {
	
	private String title;
	private Price price;
	
	public Movie(String title, Price price){
		this.title = title;
		this.price = price;
	}

	public String getMovieTitle(){
		return title;
	}
	
	public double getCharge(int days){
		return price.getCharge(days);
	}
	
	public double getFrequentRenterPoints(int days){
		return price.getFrequentRenterPoints(days);
	}
}
